
if(window.Telegram.WebApp.initData!=null && window.Telegram.WebApp.initData!=="" && window.Telegram.WebApp.initData!==undefined){
  let initDataUnsafe = window.Telegram.WebApp.initDataUnsafe
  if(initDataUnsafe){
    let start_param = window.atob(initDataUnsafe.start_param)
    if(start_param){
      start_param = JSON.parse(start_param)
      if(start_param['router']){
        window.location.href = start_param['router']
      }
    }
  }
}

